Skip to content

Conversation

@forsyth2
Copy link
Collaborator

Bump to 1.4.4rc2

@forsyth2 forsyth2 added the DevOps CI/CD, configuration, etc. label Mar 11, 2025
@forsyth2 forsyth2 self-assigned this Mar 11, 2025
@forsyth2 forsyth2 merged commit fe80c49 into main Mar 11, 2025
2 of 3 checks passed
@forsyth2 forsyth2 deleted the v1.4.4rc2 branch March 11, 2025 21:00
@forsyth2
Copy link
Collaborator Author

zstash v1.4.4rc2

cd /global/homes/f/forsyth/ez/zstash
git fetch upstream
git checkout -b test_zstash_main_20250311 upstream/main
conda clean --all --y
conda env create -f conda/dev.yml -n zstash_dev_20250311
conda activate zstash_dev_20250311
pip install .

# Follow https://github.com/E3SM-Project/zstash/discussions/329:
# Log into https://www.globus.org/
# NERSC Perlmutter, NERSC HPSS are activated in the File Manager
rm ~/.globus-native-apps.cfg
cd /global/homes/f/forsyth/ez/zstash_globus_setup
rm -rf zstash_demo/
mkdir zstash_demo; echo 'file0 stuff' > zstash_demo/file0.txt
zstash create --hpss=globus://6c54cade-bde5-45c1-bdea-f4bd71dba2cc/~/manual_run zstash_demo
# Two authentications required
cd /global/homes/f/forsyth/ez/zstash
python -u -m unittest tests/test_globus.py 
# The test should now run. Note that it's common for there to be a short hang, but then the test will finish.

# Run all unit tests:
python -u -m unittest tests/test_*.py 
python -u -m unittest tests2/test_*.py 
# All tests pass

# We may now begin the release process
git fetch upstream main
git checkout -b v1.4.4rc2 upstream/main
tbump 1.4.4rc2 --no-tag
git push upstream v1.4.4rc2
# Create and merge https://github.com/E3SM-Project/zstash/pull/372

git checkout main
git fetch upstream
git reset --hard upstream/main
git tag -a v1.4.4rc2 -m "v1.4.4rc2"
# Delete the branch from the tbump step. Otherwise, the push command won't work.
git branch -D v1.4.4rc2
git push upstream v1.4.4rc2
# New tag appears on https://github.com/E3SM-Project/zstash/tags

cd /global/homes/f/forsyth/zstash-feedstock
curl -sL https://github.com/E3SM-Project/zstash/archive/v1.4.4rc2.tar.gz | openssl sha256
# SHA2-256(stdin)= d0592e9036d1240aa069b9a4ddd4a7c1846b6a2ec3d2935b383e1bedbff239e8

git fetch upstream dev
git checkout -b v1.4.4rc2 upstream/dev
# In `recipe/meta.yaml`, update the version and sha256 (and the build number if needed):
{% set version = "1.4.4rc2" %}
sha256: ... # The sha256 from the previous step
number: 0 # build >>> number should always be 0
git add -A
git commit -m "v1.4.4rc2"
git push forsyth2 v1.4.4rc2

# Created https://github.com/conda-forge/zstash-feedstock/pull/13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

DevOps CI/CD, configuration, etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants